package cn.hairui.fastms.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 * <h2>参数配置常量定义</h2>
 *  <ol>请添加功能描述</ol>
 * <h2>修改历史</h2>
 *  <ol>如有修改，请添加修改历史</ol>
 * </p>
 *
 * @author lihairui
 * @date 2020/12/31 11:10
 * @copyright 李海瑞
 */
public class ConfigConstant {
    /**
     * 系统名称
     */
    public static final String CFG_SYSTEM_NAME = "cfgSystemName";
    public static final String CFG_SYSTEM_DEFAULT_THEME = "cfgSystemDefaultTheme";
    public static final String CFG_SYSTEM_LOGO_NAME = "cfgSystemLogoName";
    public static final String CFG_SYSTEM_ICON_NAME = "cfgSystemIconName";
    public static final String CFG_SYSTEM_BACKGROUND_IMG_NAME = "cfgSystemBackgroundImgName";
    public static final String CFG_SYSTEM_DEFAULT_PASSWORD = "cfgSystemDefaultPassword";


    public static final String[] CONFIGS = {
            CFG_SYSTEM_NAME,
            CFG_SYSTEM_DEFAULT_THEME,
            CFG_SYSTEM_LOGO_NAME,
            CFG_SYSTEM_ICON_NAME,
            CFG_SYSTEM_BACKGROUND_IMG_NAME,
            CFG_SYSTEM_DEFAULT_PASSWORD

    };

    public static final Map CONFIG_MAP;


    static {
        CONFIG_MAP = new HashMap<String, String>();
        for (int i = 0; i < CONFIGS.length; i++) {
            CONFIG_MAP.put(CONFIGS[i], CONFIGS[i]);
        }
    }

}
